import Routers from "./router/router"
import { BrowserRouter as Router } from 'react-router-dom';
import { ThemeContext } from './context/ctext';
import { useContext } from "react";

function App() {
  const theme = useContext(ThemeContext);
  return (
     <ThemeContext.Provider value={theme}>
   <Router>
    <Routers />
  </Router>
  </ThemeContext.Provider>
  )
}

export default App
